02. Build Your Project

Build Your Project

Build Your Project

To complete this project, you'll need to design a quiz layout and implement it in an app. The quiz can be about any topic of your choice, and you are encouraged to create one on a topic you find personally interesting.

You'll want to build this project in steps.

  1. First, build the layout. This involves creating the quiz questions, deciding what type of quiz they will be, and formatting them in the xml layout file for your Activity.

  2. Second, you'll want to write code that links the layout to the activity. For step 3, you'll want variables that refer to each of the quiz answers.

  3. Finally, write the code for the button which checks your answers. This code should run through each question in the app, record whether the user got the question right, and then display the quiz results in a Toast message.

Your project will be evaluated using the Quiz App project rubric.